package com.collect.discord.web.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Author :hky
 * @ Date  : Created in 15:29 2022-09-25
 * @ Version discord
 * @ Decribtion : 敏感词维护$
 */
@TableName(value = "sensitive_word")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SensitiveWord {
    @TableId
    private Long id;
    /**
     * 关键词
     */
    private String word;
    /**
     * 关键词描述
     */
    private String describes;
    /**词典类型
     * dic:分词词典
     * stop：停用词典
     */
    private String dicType;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")

    private Date createTime;

}
